package com.fancyy.scm.activity;

import android.content.Intent;
import android.view.View;

import com.fancyy.scm.R;
import com.fancyy.scm.base.BaseActivity;
import com.fancyy.scm.base.annotation.Layout;
import com.fancyy.scm.base.annotation.Translucent;
import com.fancyy.scm.databinding.ActivityTrayBinding;

@Translucent
@Layout(R.layout.activity_tray)
public class TrayActivity extends BaseActivity<ActivityTrayBinding> {

    public void onBackButtonClick(View view) {
        finish();
    }


    public  void  onTrayScanBtnClick(View view)
    {
        Intent intent = new Intent(this, CartonToTrayScanActivity.class);
        intent.putExtra("type", 1);
        startActivity(intent);
    }

    public  void onPrintTrayCodeClick(View view)
    {
        Intent intent = new Intent(this, PrintTrayCodeActivity.class);
        intent.putExtra("type", 2);
        startActivity(intent);
    }
    public  void onTrackScanBtnClick(View view)
    {
        Intent intent = new Intent(this, TrackScanActivity.class);
        intent.putExtra("type", 3);
        startActivity(intent);
    }
    public void onDeleteCartonFromTrayClick(View view)
    {
        Intent intent = new Intent(this, DeleteCartonFromTray.class);
        intent.putExtra("type", 6);
        startActivity(intent);
    }
    public void onDeleteCartonFromCarClick(View view)
    {
        Intent intent = new Intent(this, DeleteCartonFromCar.class);
        intent.putExtra("type", 7);
        startActivity(intent);
    }

}